package me.zhengjie.tools.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * sm.ms图床
 *
 * @author jie
 * @date 2018-12-27
 */
@Data
@TableName("picture")
public class Picture implements Serializable {

    @TableId(value = "id" ,type = IdType.AUTO)
    private Long id;

    private String filename;

    private String url;

    private String size;

    private String height;

    private String width;

    private String deleteUrl;

    private String username;

    private Timestamp createTime;

    @Override
    public String toString() {
        return "Picture{" +
                "filename='" + filename + '\'' +
                '}';
    }
}
